<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <link rel="stylesheet" href="css/任务四.css">
    <script src="js/任务四.js"></script>
</head>
<body>
	<input type="text" name="q" class="inputNumber" value="" id="getNumber">
	<input type="button" name="" value="左侧入" class="button" onClick="leftIn()">
	<input type="button" name="" value="右侧入" class="button" onClick="rightIn()">
	<input type="button" name="" value="左侧出" class="button Out" onClick="leftOut()">
	<input type="button" name="" value="右侧出" class="button" onClick="rightOut()"> 
	<div id="box">
		<div class="number" onClick="foo(event)">3</div>
		<div class="number" onClick="foo(event)">3</div>
	</div>
</body>
</html>